import request from '@/utils/request'//引入ajax
const api_name = '/admin/system'
// 分页查询角色数据
export const findGetSurveyAll = (queryDto) => {
    return request({
        url: `${api_name}/findSurveyAll`,
        method: 'get',
        params:queryDto
    })
}

// 查询状态
export const findStatus = () => {
    return request({
        url: `${api_name}/findStatus`,
        method: 'get'
    })
}
// 启动停用
export const updateStatus = (id,status) => {
    return request({
        url: `${api_name}/updateStatus/${id}/${status}`,
        method: 'get'
    })
}
//根据id查询信息 
export const findwenTopById = (id) => {
    return request({
        url: `${api_name}/findwenTopById/${id}`,
        method: 'get'
    })
}